What is the concept of handle in Java?


Posted by Rich on 2022-07-18

I was googling the differences between primitive and object in Java. One of the difference is that primitive stores value and object stores handle. So I wonder what is handle? I found this post on stackoverflow.
The usual term is "object reference" (or just "reference"), rather than "handle."
There are more details in that post.










Related Posts

實作 PHP API & 留言板 SPA(下)

實作 PHP API & 留言板 SPA(下)

[TensorFlow Certification Day3] TensorFlow的人工智能, 機器學習和深度學習簡介 Week2/3

[TensorFlow Certification Day3] TensorFlow的人工智能, 機器學習和深度學習簡介 Week2/3

如何在終端機下使用 conda 指令管理虛擬環境

如何在終端機下使用 conda 指令管理虛擬環境


Comments